package com.cloudfun.campusshare.common.model.vo;

import com.cloudfun.campusshare.common.constant.AccountActiveStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Set;

/**
 * @Author : linyangping
 * @Date : Created in 4:18 PM 2019/10/21
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "用户信息VO")
public class UserVO {

    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "真实姓名")
    private String name;

    @ApiModelProperty(value = "注册时间")
    private String createTime;

    @ApiModelProperty(value = "认证状态")
    private Integer authStatus;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "认证类型")
    private Integer authType;

    @ApiModelProperty(value = "手机号码")
    private String phone;

    @ApiModelProperty(value = "邮箱地址")
    private String email;

    @ApiModelProperty(value = "头像")
    private AttachVO head;

    @ApiModelProperty(value = "企业名称")
    private String enterpriseName;

    @ApiModelProperty(value = "是否激活")
    private AccountActiveStatus activateStatus;

    @ApiModelProperty("角色")
    private Set<String> role;

    @ApiModelProperty("权限")
    private Set<String> authorities;

    @ApiModelProperty("首页跳转页面名称")
    private String headPageName;
}
